From 5df26140e24c53fb919ce735f05b6c4676901e6b Mon Sep 17 00:00:00 2001 From: Kenichi Handa Date: Thu, 13 Jul 2006 06:03:33 +0000 Subject: [PATCH] (Fformat): Fix calculation of text property positions of format string. --- src/editfns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/editfns.c b/src/editfns.c index 98a42855ba5..cf37c10a9d5 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -3886,7 +3886,7 @@ usage: (format STRING &rest OBJECTS) */) /* Likewise adjust the property end position. */ pos = XINT (XCAR (XCDR (item))); - for (; bytepos < pos; bytepos++) + for (; position < pos; bytepos++) { if (! discarded[bytepos]) position++, translated++; -- 2.30.2